<!DOCTYPE html>
<html>
	{{- partial "head.html" . -}}
	<link rel="stylesheet" href="../../css/single.css" type="text/css" />

	<body>
		{{- partial "header.html" . -}}
		<div class="section">
			<div class="content">

				<div class="content-info">
					<h1>{{.Title}}</h1>
					<!-- 描述 -->
					{{if .Params.description}}
					<p>{{.Params.description}}</p>
					{{end}}
					<!-- 作者 -->
					{{if .Params.author}}
					<p>{{.Params.author}}</p>
					{{end}}
					<ul>
						<li>Last Update on {{.Lastmod.Format "2006 Jan 2 15:04:05"}}</li>
						<li>{{.ReadingTime}} min read</li>
						<li>{{.Params.tags}}</li>
					</ul>
				</div>
				<img id="head-img" src="../../{{.Params.image}}" />
				<div class="content-text">
					
					<div>
						{{ .Content }}
					</div>
				</div>
			</div>
			<div class="content-ending">
				<ul id="choose-section">
					{{ if .PrevInSection }}
					<li>
						<a href="{{ .PrevInSection.URL }}">&larr;
							{{ .PrevInSection.Title}}</a>
					</li>
					{{ end }}
					{{ if .NextInSection }}
					<li>
						<a href="{{ .NextInSection.URL }}">
							{{ .NextInSection.Title}} &rarr;</a>
					</li>
					{{ end }}
				</ul>
			</div>
		</div>
		</div>
		{{- partial "footer.html" . -}}
	</body>
</html>
